<?php
/**
 * Created by PhpStorm.
 * User: 76683
 * Date: 2018/7/16
 * Time: 23:17
 */

namespace app\sd\model;


use think\Model;

class WeCategory extends Model
{
    protected $autoWriteTimestamp = true;

    public function categoryList(){
        return $this->column('name','id');
    }
}